﻿using ERPPublic;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProductionManagement.Domain.ProductionDomain
{
    /// <summary>
    /// 预生产计划表
    /// </summary>
    /// 
    [SugarTable("PreProduction")]
    public class PreProduction: Audit
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] // 如果是主键且自增，可以这样设置
        public int PreProductionId { get; set; } // 预生产计划id

        public string? PPName { get; set; }// 预生产计划名称

        public string? PPDocuNumber { get; set; } // 单据编号

        public int? PPType { get; set; }//来源单据类型

        public int? PPNumTotal { get; set; } // 数量合计

        public int? PPState { get; set; } // 预生产计划状态

        public int? PPGeneratedNum { get; set; } // 已生成生产计划数量

        public string? PPSmark { get; set; } // 备注
    }
}
